using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace QuanLyDoiXe
{
    public partial class frmMain : Form
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private void miTiepNhanXeMoi_Click(object sender, EventArgs e)
        {
            Form f = new frmTiepNhanXeMoi();
            f.Show();
            f.MdiParent = this;
        }

        private void miTiepNhanDiaDiem_Click(object sender, EventArgs e)
        {
            Form f = new frmTiepNhanDiaDiem();
            f.Show();
            f.MdiParent = this;
        }

        private void miPhanCongXeTaiXe_Click(object sender, EventArgs e)
        {
            Form f = new frmPhanCongXeTaiXe();
            f.Show();
            f.MdiParent = this;
        }

        private void miCapNhienLieu_Click(object sender, EventArgs e)
        {            
            Form f = new frmCapNhienLieuChoXe();
            f.Show();
            f.MdiParent = this;
        }

        private void miLapHoaDonGH_Click(object sender, EventArgs e)
        {
            Form f = new frmLapHoaDonGiaoHang();
            f.Show();
            f.MdiParent = this;
        }

        private void miPhanCongTaiXe_Click(object sender, EventArgs e)
        {
            Form f = new frmTimKiemPhanCongTaiXe();
            f.Show();
            f.MdiParent = this;
        }

        private void miTimKiemXe_Click(object sender, EventArgs e)
        {
            Form f = new frmTimKiemXe();
            f.Show();
            f.MdiParent = this;
        }

        private void miQuangDuongXeChay_Click(object sender, EventArgs e)
        {
            Form f = new frmBaoCaoQuangDuongXeChay();
            f.Show();
            f.MdiParent = this;
        }

        private void miSuDungNLThang_Click(object sender, EventArgs e)
        {
            Form f = new frmBaoCaoSuDungNhienLieuThang();
            f.Show();
            f.MdiParent = this;
        }

        private void miTinhTrangGH_Click(object sender, EventArgs e)
        {
            Form f = new frmBaoCaoTinhTrangGiaoHang();
            f.Show();
            f.MdiParent = this;
        }
    }
}